package ams.service;

import java.util.List;

import ams.model.dto.ExecResult;
import ams.model.entity.Rights;

public interface IRightsService {

	public ExecResult add(Rights rights);
	
	public ExecResult delete(Rights rights);
	
	public ExecResult update(Rights rights);
	
	public List<Rights> getRightsByPid(Integer id);
	
	public List<Rights> getAllRights();
	
	
}